#include<bits/stdc++.h>
using namespace std;
#define MaxSize 10
struct SeqList{
	int data[MaxSize];
	int len;
};
void fuzhi(SeqList &L,int temp[]){
	for(int i=0; i<sizeof(temp);i++)
		L.data[i] = temp[i];
}
SeqList list6(SeqList &L1,SeqList &L2,bool seq){
	int pa,pb = 0  ; 
	while(pa<L1.len && pb ){
		if(L1.data[pa]<L2.data[pb]){
			for(int i = pb; i < L2.len; i++)
				L2.data[i+1] = L2.data[i];	
		}
		pa++;pb++;
	}
	while(pa){
		L2.data[++pb] = L1.data[pa]; 
	}
	L2.len = pb;
}
void list10(){
	int q[]= {1,2,3,4,32,32,43};
	int head; int s;
	while(head < p) {
		
	}
}

void printfList(SeqList L){
	for(int i=0;i<sizeof(L)/sizeof(int);i++)
		cout<< L.data[i]<<"  ";
	cout<<endl;
}
int main(){
	SeqList a;SeqList b;
	int q[]= {1,2,3,4,32,32,43};fuzhi(a,q);
	int c[] = {2,3,4,13,23,45,53,67};
	printfList(a);fuzhi(b,c);
	printfList(b);
	list6(a,b,1);
	printfList(b);
	return 0;
}

